From 74c0b55e1777d050f2a6fb681de8543f5b801f71 Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Fri, 29 Nov 2024 11:08:50 +0100 Subject: [PATCH] d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect Debian Policy 4.9.1. --- debian/changelog | 8 ++++++++ debian/rules | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index ba0c9ca..3608c99 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +solvespace (3.1+ds1-4) UNRELEASED; urgency=medium + + * Team upload. + * d/rules: use DEB_BUILD_OPTION_PARALLEL instead of nproc to respect + Debian Policy 4.9.1. + + -- Michael R. Crusoe Fri, 29 Nov 2024 11:08:31 +0100 + solvespace (3.1+ds1-3.1) unstable; urgency=medium * Non-maintainer upload. diff --git a/debian/rules b/debian/rules index be9e87b..eb11e9e 100755 --- a/debian/rules +++ b/debian/rules @@ -31,6 +31,6 @@ override_dh_auto_configure: override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) ifeq (amd64,$(DEB_HOST_ARCH)) - cd obj-* && $(MAKE) -j$(nproc) test_solvespace + cd obj-* && $(MAKE) $(DEB_BUILD_OPTION_PARALLEL:%=-j%) test_solvespace endif endif -- 2.30.2